package cn.yunhe.entity;

import java.io.Serializable;
import java.util.Date;

public class LiuYan implements Serializable {
    private int lid;
    private String title;
    private String context;
    private Admin admin;
    private Date createdate;

    public LiuYan() {
    }

    public LiuYan(int lid) {
        this.lid = lid;
    }

    public LiuYan(int lid, String title, String context) {
        this.lid = lid;
        this.title = title;
        this.context = context;
    }

    public LiuYan(String title, String context) {
        this.title = title;
        this.context = context;
    }

    public LiuYan(String title, String context, Admin admin) {
        this.title = title;
        this.context = context;
        this.admin = admin;
    }

    public LiuYan(int lid, String title, String context, Admin admin, Date createdate) {
        this.lid = lid;
        this.title = title;
        this.context = context;
        this.admin = admin;
        this.createdate = createdate;
    }

    public int getLid() {
        return lid;
    }

    public void setLid(int lid) {
        this.lid = lid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Admin getAdmin() {
        return admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}
